﻿@{
    ViewBag.Title = "CheckOut";
    Lang lang = ViewBag.Lang;
}

<style>
    .c-title {
        color: #122738;
        font-size: 26px;
    }

    .grid-item {
        text-align: left;
        padding: 10px;
        font-weight: bold;
        color: #2e74b2;
    }

        .grid-item img {
            padding: 0px 10px 0px 0px;
        }

    .service-box {
       border-top:none;
         color: #2e74b2;
    }
</style>

@{
    MDF.Utilites.Tools.MyResult result = (MDF.Utilites.Tools.MyResult)ViewBag.Result;
    if (result.IsSuccess != 0)
    {
        if (result.IsSuccess > 0)
        {

            for (int i = 0; i < result.ListMessage.Count; i++)
            { 
    <div class="col_1_of_4 span_1_of_4">
        <div class="grid-item">


            <div class="service-box" style="">
                @Html.Raw(result.ListMessage[i])
            </div>
        </div>
    </div>

            }
        } if (result.IsSuccess < 0)
        {
    <style>
        .service-box {
             border-top:none;
              color: #D61321;
        }
    </style>
    for (int i = 0; i < result.ListMessage.Count; i++)
            { 
    <div class="col_1_of_4 span_1_of_4">
        <div class="grid-item">


            <div class="service-box" style="">
                @Html.Raw(result.ListMessage[i])
            </div>
        </div>
    </div>

            }
        }

    } 
}

